package redisclient;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;

public interface Command {

    ByteBuffer toByteBuffer();

    void read(SocketChannel socketChannel) throws IOException;

}
